package com.xdf.zipperdye.model;

import java.io.Serializable;
import java.util.List;

public class BillOrder implements Serializable {
    OrderMain main;
    List<OrderDetail> details;

    private static final long serialVersionUID = 1L;

    public BillOrder() {
    }

    public BillOrder(OrderMain main, List<OrderDetail> details) {
        this.main = main;
        this.details = details;
    }

    public OrderMain getMain() {
        return main;
    }

    public void setMain(OrderMain main) {
        this.main = main;
    }

    public List<OrderDetail> getDetails() {
        return details;
    }

    public void setDetails(List<OrderDetail> details) {
        this.details = details;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "BillOrder{" +
                "main=" + main +
                ", details=" + details +
                '}';
    }
}
